<template>
  <div id="app">
    <BpmModel :user-list="fun" :deptOptions="deptOptions" :postOptions="postList" msg="Welcome to Your Vue.js App"/>
    <!--    <CommonApproval></CommonApproval>-->
<!--        <BpmView ref="bpmView" :xml="defaultXml" @selection="onselection"></BpmView>-->
  </div>
</template>

<script>
import BpmModel from './components/BpmModel.vue'
import CommonApproval from './components/CommonApproval'
import BpmView from './components/BpmView'
import defaultXml from '@/config/defaultXml'
export default {
  name: 'App',
  components: {
      BpmView,
    CommonApproval,
    BpmModel
  },
  data(){
    return{
      defaultXml:defaultXml,
      deptOptions:[{'id':10,'parentId':0,'children':[{'id':4851,'parentId':10,'children':[],'name':'综合组','isLock':true},{'id':4873,'parentId':10,'children':[],'name':'分析策略室','isLock':true},{'id':4587,'parentId':10,'children':[],'name':'运营分析室','isLock':true},{'id':4848,'parentId':10,'children':[],'name':'有线业务服营室','isLock':true},{'id':20,'parentId':10,'children':[],'name':'公司领导','isLock':true},{'id':60,'parentId':10,'children':[{'id':4874,'parentId':60,'children':[],'name':'部领导','isLock':true},{'id':5161,'parentId':60,'children':[],'name':'全球通品牌运营室','isLock':true},{'id':5163,'parentId':60,'children':[],'name':'动感地带品牌运营室','isLock':true},{'id':5162,'parentId':60,'children':[],'name':'神州行品牌运营室','isLock':true},{'id':4872,'parentId':60,'children':[],'name':'发展策略室','isLock':true},{'id':4866,'parentId':60,'children':[],'name':'运营服务室（业务稽核中心）','isLock':true},{'id':4865,'parentId':60,'children':[],'name':'存量运营中心','isLock':true},{'id':4877,'parentId':60,'children':[],'name':'渠道运营中心','isLock':true},{'id':130,'parentId':60,'children':[],'name':'新业务发展中心','isLock':true}],'name':'市场经营部','isLock':true},{'id':80,'parentId':10,'children':[{'id':3701,'parentId':80,'children':[],'name':'部领导','isLock':true},{'id':4224,'parentId':80,'children':[],'name':'统筹管理室','isLock':true},{'id':5154,'parentId':80,'children':[],'name':'融合经营室','isLock':true},{'id':4684,'parentId':80,'children':[],'name':'项目及产品运营室','isLock':true},{'id':4681,'parentId':80,'children':[],'name':'云及大数据运营室','isLock':true},{'id':4686,'parentId':80,'children':[],'name':'行业拓展一室','isLock':true},{'id':4682,'parentId':80,'children':[],'name':'行业拓展二室','isLock':true},{'id':4683,'parentId':80,'children':[],'name':'行业拓展三室','isLock':true},{'id':4685,'parentId':80,'children':[],'name':'行业拓展四室','isLock':true},{'id':4680,'parentId':80,'children':[],'name':'行业拓展五室','isLock':true},{'id':5155,'parentId':80,'children':[],'name':'行业拓展六室','isLock':true},{'id':4867,'parentId':80,'children':[],'name':'云游江西团队','isLock':true}],'name':'集团客户部','isLock':true},{'id':70,'parentId':10,'children':[],'name':'网络部','isLock':true},{'id':90,'parentId':10,'children':[],'name':'规划技术部','isLock':true},{'id':110,'parentId':10,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':30,'parentId':10,'children':[{'id':4061,'parentId':30,'children':[],'name':'综合部安保室','isLock':true}],'name':'综合部','isLock':true},{'id':160,'parentId':10,'children':[],'name':'纪委办公室','isLock':true},{'id':4875,'parentId':10,'children':[],'name':'巡察工作办公室（党风廉政办公室）','isLock':true},{'id':120,'parentId':10,'children':[],'name':'人力资源部','isLock':true},{'id':100,'parentId':10,'children':[],'name':'财务部','isLock':true},{'id':4864,'parentId':10,'children':[],'name':'客户服务部','isLock':true},{'id':180,'parentId':10,'children':[],'name':'发展战略部','isLock':true},{'id':140,'parentId':10,'children':[],'name':'法律事务部','isLock':true},{'id':210,'parentId':10,'children':[{'id':5157,'parentId':210,'children':[],'name':'部领导','isLock':true},{'id':5158,'parentId':210,'children':[],'name':'采购一室','isLock':true},{'id':5160,'parentId':210,'children':[],'name':'采购二室','isLock':true},{'id':5159,'parentId':210,'children':[],'name':'物流管理室','isLock':true},{'id':5156,'parentId':210,'children':[],'name':'供应链运营室','isLock':true}],'name':'采购物流部','isLock':true},{'id':230,'parentId':10,'children':[],'name':'内审部','isLock':true},{'id':4843,'parentId':10,'children':[],'name':'对外合作部','isLock':true},{'id':190,'parentId':10,'children':[],'name':'工会','isLock':true},{'id':4822,'parentId':10,'children':[],'name':'电子商务中心','isLock':true},{'id':3827,'parentId':10,'children':[{'id':3907,'parentId':3827,'children':[],'name':'中心领导','isLock':true},{'id':3904,'parentId':3827,'children':[],'name':'产品研发室','isLock':true},{'id':3906,'parentId':3827,'children':[],'name':'产品品质室','isLock':true},{'id':3905,'parentId':3827,'children':[],'name':'项目支撑室','isLock':true},{'id':4640,'parentId':3827,'children':[],'name':'云及大数据支撑室','isLock':true},{'id':4854,'parentId':3827,'children':[],'name':'5G江西（南昌）开放实验室','isLock':true},{'id':4856,'parentId':3827,'children':[],'name':'5G江西（抚州）开放实验室','isLock':true},{'id':4859,'parentId':3827,'children':[],'name':'5G江西（赣州）开放实验室','isLock':true},{'id':4853,'parentId':3827,'children':[],'name':'5G江西（宜春）开放实验室','isLock':true},{'id':4858,'parentId':3827,'children':[],'name':'5G江西（九江）开放实验室','isLock':true},{'id':4855,'parentId':3827,'children':[],'name':'5G江西（吉安）开放实验室','isLock':true},{'id':4857,'parentId':3827,'children':[],'name':'5G江西（上饶）开放实验室','isLock':true},{'id':4868,'parentId':3827,'children':[],'name':'5G江西（景德镇）开放实验室','isLock':true},{'id':5164,'parentId':3827,'children':[],'name':'项目交付室','isLock':true}],'name':'信息化支撑中心','isLock':true},{'id':170,'parentId':10,'children':[{'id':4600,'parentId':170,'children':[],'name':'部领导','isLock':true},{'id':4582,'parentId':170,'children':[],'name':'运营管理室','isLock':true},{'id':4869,'parentId':170,'children':[],'name':'基础平台室','isLock':true},{'id':4870,'parentId':170,'children':[],'name':'业务开发室','isLock':true},{'id':4871,'parentId':170,'children':[],'name':'系统运营维护室','isLock':true},{'id':4581,'parentId':170,'children':[],'name':'大数据架构室','isLock':true},{'id':4588,'parentId':170,'children':[],'name':'大数据应用室','isLock':true},{'id':4584,'parentId':170,'children':[],'name':'电子渠道支撑室','isLock':true},{'id':4580,'parentId':170,'children':[],'name':'管理信息系统室','isLock':true},{'id':4876,'parentId':170,'children':[],'name':'安全管理室','isLock':true}],'name':'信息技术部','isLock':true},{'id':240,'parentId':10,'children':[{'id':320,'parentId':240,'children':[],'name':'核心网室','isLock':true},{'id':4850,'parentId':240,'children':[],'name':'动力室','isLock':true},{'id':260,'parentId':240,'children':[],'name':'中心领导','isLock':true},{'id':3825,'parentId':240,'children':[],'name':'网管支撑室','isLock':true},{'id':4151,'parentId':240,'children':[],'name':'性能分析室','isLock':true},{'id':280,'parentId':240,'children':[],'name':'监控室','isLock':true}],'name':'网络管理中心','isLock':true},{'id':3801,'parentId':10,'children':[{'id':4860,'parentId':3801,'children':[],'name':'中心领导','isLock':true},{'id':3828,'parentId':3801,'children':[],'name':'无线优化室','isLock':true},{'id':4122,'parentId':3801,'children':[],'name':'无线分析室','isLock':true},{'id':4123,'parentId':3801,'children':[],'name':'无线维护室','isLock':true}],'name':'无线中心','isLock':true},{'id':4844,'parentId':10,'children':[{'id':4845,'parentId':4844,'children':[],'name':'中心领导','isLock':true},{'id':4847,'parentId':4844,'children':[],'name':'互联网运维室','isLock':true},{'id':4846,'parentId':4844,'children':[],'name':'有线网室','isLock':true},{'id':4892,'parentId':4844,'children':[],'name':'视频内容运营团队','isLock':true},{'id':5153,'parentId':4844,'children':[],'name':'家庭产品运营室','isLock':true},{'id':4849,'parentId':4844,'children':[],'name':'统筹管理室','isLock':true}],'name':'有线业务部','isLock':true},{'id':4141,'parentId':10,'children':[],'name':'网络服务中心','isLock':true},{'id':3912,'parentId':10,'children':[],'name':'网络与信息安全中心','isLock':true},{'id':3913,'parentId':10,'children':[{'id':3914,'parentId':3913,'children':[],'name':'中心领导','isLock':true},{'id':3915,'parentId':3913,'children':[],'name':'质量管理室','isLock':true},{'id':3918,'parentId':3913,'children':[],'name':'移动网工程室','isLock':true},{'id':3917,'parentId':3913,'children':[],'name':'基础网工程室','isLock':true},{'id':3916,'parentId':3913,'children':[],'name':'业务支撑网室','isLock':true},{'id':4852,'parentId':3913,'children':[],'name':'专项工程室','isLock':true}],'name':'工程建设中心','isLock':true},{'id':200,'parentId':10,'children':[],'name':'基建办公室','isLock':true},{'id':3601,'parentId':10,'children':[{'id':4004,'parentId':3601,'children':[],'name':'中心领导','isLock':true},{'id':4001,'parentId':3601,'children':[],'name':'策划室','isLock':true},{'id':4002,'parentId':3601,'children':[],'name':'培训管理室','isLock':true},{'id':4003,'parentId':3601,'children':[],'name':'综合室','isLock':true}],'name':'员工能力发展中心','isLock':true},{'id':50,'parentId':10,'children':[],'name':'行政事务中心','isLock':true},{'id':4482,'parentId':10,'children':[{'id':410,'parentId':4482,'children':[],'name':'中心领导','isLock':true},{'id':4885,'parentId':4482,'children':[],'name':'数字化支撑团队','isLock':true},{'id':4888,'parentId':4482,'children':[],'name':'综合支撑部','isLock':true},{'id':4883,'parentId':4482,'children':[],'name':'市场发展部（四轮驱动）','isLock':true},{'id':4882,'parentId':4482,'children':[],'name':'党群人力部','isLock':true},{'id':4887,'parentId':4482,'children':[],'name':'服务运营部','isLock':true},{'id':4886,'parentId':4482,'children':[],'name':'服务营销中心','isLock':true},{'id':4884,'parentId':4482,'children':[],'name':'市场发展部（存量运营）','isLock':true},{'id':4881,'parentId':4482,'children':[],'name':'互联网运营团队','isLock':true}],'name':'中移在线服务有限公司','isLock':true},{'id':4861,'parentId':10,'children':[{'id':4862,'parentId':4861,'children':[],'name':'公司领导','isLock':true},{'id':4879,'parentId':4861,'children':[],'name':'综合部','isLock':true},{'id':4880,'parentId':4861,'children':[],'name':'财务部','isLock':true},{'id':4878,'parentId':4861,'children':[],'name':'市场销售部','isLock':true},{'id':4863,'parentId':4861,'children':[],'name':'支撑服务部','isLock':true}],'name':'终端有限公司','isLock':true},{'id':4783,'parentId':10,'children':[],'name':'原公司领导','isLock':true},{'id':3677,'parentId':10,'children':[],'name':'邮件用户','isLock':true},{'id':3695,'parentId':10,'children':[{'id':4823,'parentId':3695,'children':[],'name':'测试组部门','isLock':true}],'name':'江西移动项目组','isLock':true},{'id':3679,'parentId':10,'children':[],'name':'EMIS技术支持组','isLock':true},{'id':1390,'parentId':10,'children':[{'id':1400,'parentId':1390,'children':[],'name':'公司领导','isLock':true},{'id':1420,'parentId':1390,'children':[],'name':'市场经营部','isLock':true},{'id':1540,'parentId':1390,'children':[],'name':'集团客户部','isLock':true},{'id':1450,'parentId':1390,'children':[],'name':'网络部','isLock':true},{'id':1500,'parentId':1390,'children':[],'name':'无线中心','isLock':true},{'id':1510,'parentId':1390,'children':[],'name':'有线业务部','isLock':true},{'id':1440,'parentId':1390,'children':[],'name':'财务部','isLock':true},{'id':1430,'parentId':1390,'children':[],'name':'人力资源部','isLock':true},{'id':1410,'parentId':1390,'children':[],'name':'综合部','isLock':true},{'id':3696,'parentId':1390,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':3823,'parentId':1390,'children':[],'name':'工程建设中心','isLock':true},{'id':1520,'parentId':1390,'children':[],'name':'渠道运营中心','isLock':true},{'id':1480,'parentId':1390,'children':[],'name':'物流中心','isLock':true},{'id':1460,'parentId':1390,'children':[],'name':'工会','isLock':true},{'id':4302,'parentId':1390,'children':[],'name':'纪委办公室','isLock':true},{'id':1550,'parentId':1390,'children':[],'name':'城区分公司','isLock':true},{'id':1570,'parentId':1390,'children':[],'name':'吉安县分公司','isLock':true},{'id':1580,'parentId':1390,'children':[],'name':'吉水县分公司','isLock':true},{'id':1590,'parentId':1390,'children':[],'name':'安福县分公司','isLock':true},{'id':1600,'parentId':1390,'children':[],'name':'井冈山市分公司','isLock':true},{'id':1610,'parentId':1390,'children':[],'name':'遂川县分公司','isLock':true},{'id':1620,'parentId':1390,'children':[],'name':'泰和县分公司','isLock':true},{'id':1630,'parentId':1390,'children':[],'name':'万安县分公司','isLock':true},{'id':1640,'parentId':1390,'children':[],'name':'峡江县分公司','isLock':true},{'id':1650,'parentId':1390,'children':[],'name':'新干县分公司','isLock':true},{'id':1660,'parentId':1390,'children':[],'name':'永丰县分公司','isLock':true},{'id':1670,'parentId':1390,'children':[],'name':'永新县分公司','isLock':true},{'id':3686,'parentId':1390,'children':[],'name':'邮件用户','isLock':true},{'id':4819,'parentId':1390,'children':[],'name':'吉安测试组','isLock':true}],'name':'吉安分公司','isLock':true},{'id':5165,'parentId':10,'children':[{'id':5166,'parentId':5165,'children':[],'name':'通信服务公司','isLock':true}],'name':'通信服务公司','isLock':true},{'id':5167,'parentId':10,'children':[{'id':5173,'parentId':5167,'children':[],'name':'公司领导','isLock':true},{'id':5189,'parentId':5167,'children':[],'name':'综合部','isLock':true},{'id':5188,'parentId':5167,'children':[],'name':'财务部','isLock':true},{'id':5187,'parentId':5167,'children':[],'name':'市场部','isLock':true},{'id':5186,'parentId':5167,'children':[],'name':'终端售后运营中心','isLock':true},{'id':5185,'parentId':5167,'children':[],'name':'昌北自办厅','isLock':true},{'id':5184,'parentId':5167,'children':[],'name':'昌东师大自办厅','isLock':true},{'id':5183,'parentId':5167,'children':[],'name':'新余营销中心','isLock':true},{'id':5182,'parentId':5167,'children':[],'name':'赣州营销中心','isLock':true},{'id':5181,'parentId':5167,'children':[],'name':'宜春营销中心','isLock':true},{'id':5180,'parentId':5167,'children':[],'name':'景德镇营销中心','isLock':true},{'id':5179,'parentId':5167,'children':[],'name':'九江营销中心','isLock':true},{'id':5178,'parentId':5167,'children':[],'name':'上饶营销中心','isLock':true},{'id':5177,'parentId':5167,'children':[],'name':'吉安营销中心','isLock':true},{'id':5176,'parentId':5167,'children':[],'name':'抚州营销中心','isLock':true},{'id':5175,'parentId':5167,'children':[],'name':'萍乡营销中心','isLock':true},{'id':5174,'parentId':5167,'children':[],'name':'鹰潭营销中心','isLock':true},{'id':5168,'parentId':5167,'children':[],'name':'南昌营销中心','isLock':true},{'id':5169,'parentId':5167,'children':[],'name':'自有零售','isLock':true},{'id':5170,'parentId':5167,'children':[],'name':'支撑保障中心','isLock':true},{'id':5172,'parentId':5167,'children':[],'name':'互联网产品中心','isLock':true},{'id':5171,'parentId':5167,'children':[],'name':'新业务运营中心','isLock':true}],'name':'终端公司','isLock':true}],'name':'江西公司','isLock':true},{'id':1030,'parentId':0,'children':[{'id':1040,'parentId':1030,'children':[],'name':'公司领导','isLock':true},{'id':1050,'parentId':1030,'children':[],'name':'综合部','isLock':true},{'id':1051,'parentId':1030,'children':[],'name':'人力资源部','isLock':true},{'id':1052,'parentId':1030,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':1060,'parentId':1030,'children':[],'name':'财务部','isLock':true},{'id':1081,'parentId':1030,'children':[],'name':'物流中心','isLock':true},{'id':1080,'parentId':1030,'children':[],'name':'市场经营部','isLock':true},{'id':1130,'parentId':1030,'children':[],'name':'渠道运营中心','isLock':true},{'id':1131,'parentId':1030,'children':[],'name':'集团客户部','isLock':true},{'id':4301,'parentId':1030,'children':[],'name':'纪委办公室','isLock':true},{'id':1070,'parentId':1030,'children':[],'name':'网络部','isLock':true},{'id':4241,'parentId':1030,'children':[],'name':'有线业务部','isLock':true},{'id':1170,'parentId':1030,'children':[],'name':'无线中心','isLock':true},{'id':1190,'parentId':1030,'children':[],'name':'工程建设中心','isLock':true},{'id':3741,'parentId':1030,'children':[],'name':'基建办公室','isLock':true},{'id':1100,'parentId':1030,'children':[],'name':'工会','isLock':true},{'id':4321,'parentId':1030,'children':[],'name':'离退休人员服务中心','isLock':true},{'id':1191,'parentId':1030,'children':[],'name':'章贡区分公司','isLock':true},{'id':1192,'parentId':1030,'children':[],'name':'经济技术开发区分公司','isLock':true},{'id':1220,'parentId':1030,'children':[],'name':'安远县分公司','isLock':true},{'id':1230,'parentId':1030,'children':[],'name':'崇义县分公司','isLock':true},{'id':1240,'parentId':1030,'children':[],'name':'大余县分公司','isLock':true},{'id':1250,'parentId':1030,'children':[],'name':'定南县分公司','isLock':true},{'id':1260,'parentId':1030,'children':[],'name':'赣县分公司','isLock':true},{'id':1270,'parentId':1030,'children':[],'name':'会昌县分公司','isLock':true},{'id':1280,'parentId':1030,'children':[],'name':'龙南市分公司','isLock':true},{'id':1290,'parentId':1030,'children':[],'name':'南康市分公司','isLock':true},{'id':1300,'parentId':1030,'children':[],'name':'宁都县分公司','isLock':true},{'id':1320,'parentId':1030,'children':[],'name':'瑞金市分公司','isLock':true},{'id':1310,'parentId':1030,'children':[],'name':'全南县分公司','isLock':true},{'id':1330,'parentId':1030,'children':[],'name':'上犹县分公司','isLock':true},{'id':1340,'parentId':1030,'children':[],'name':'石城县分公司','isLock':true},{'id':1350,'parentId':1030,'children':[],'name':'信丰县分公司','isLock':true},{'id':1360,'parentId':1030,'children':[],'name':'于都县分公司','isLock':true},{'id':1370,'parentId':1030,'children':[],'name':'兴国县分公司','isLock':true},{'id':1380,'parentId':1030,'children':[],'name':'寻乌县分公司','isLock':true},{'id':3685,'parentId':1030,'children':[],'name':'邮件用户','isLock':true},{'id':4820,'parentId':1030,'children':[],'name':'赣州测试组','isLock':true}],'name':'赣州分公司','isLock':true},{'id':480,'parentId':0,'children':[{'id':490,'parentId':480,'children':[],'name':'公司领导','isLock':true},{'id':520,'parentId':480,'children':[],'name':'市场经营部','isLock':true},{'id':570,'parentId':480,'children':[],'name':'集团客户部','isLock':true},{'id':530,'parentId':480,'children':[],'name':'网络部','isLock':true},{'id':550,'parentId':480,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':500,'parentId':480,'children':[],'name':'综合部','isLock':true},{'id':3461,'parentId':480,'children':[],'name':'纪委办公室','isLock':true},{'id':560,'parentId':480,'children':[],'name':'人力资源部','isLock':true},{'id':540,'parentId':480,'children':[],'name':'财务部','isLock':true},{'id':3683,'parentId':480,'children':[],'name':'工会','isLock':true},{'id':4242,'parentId':480,'children':[],'name':'有线业务部','isLock':true},{'id':3804,'parentId':480,'children':[],'name':'工程建设中心','isLock':true},{'id':640,'parentId':480,'children':[],'name':'渠道运营中心','isLock':true},{'id':4005,'parentId':480,'children':[],'name':'信息化支撑中心','isLock':true},{'id':541,'parentId':480,'children':[],'name':'客户运营中心','isLock':true},{'id':670,'parentId':480,'children':[],'name':'无线中心','isLock':true},{'id':4261,'parentId':480,'children':[],'name':'基建办公室（临时）','isLock':true},{'id':620,'parentId':480,'children':[],'name':'物流中心','isLock':true},{'id':3702,'parentId':480,'children':[],'name':'离退休服务中心','isLock':true},{'id':740,'parentId':480,'children':[],'name':'南昌县分公司','isLock':true},{'id':750,'parentId':480,'children':[],'name':'新建区分公司','isLock':true},{'id':760,'parentId':480,'children':[],'name':'进贤县分公司','isLock':true},{'id':770,'parentId':480,'children':[],'name':'安义县分公司','isLock':true},{'id':680,'parentId':480,'children':[],'name':'东湖区分公司','isLock':true},{'id':690,'parentId':480,'children':[],'name':'西湖区分公司','isLock':true},{'id':710,'parentId':480,'children':[],'name':'青山湖区分公司','isLock':true},{'id':700,'parentId':480,'children':[],'name':'青云谱区分公司','isLock':true},{'id':720,'parentId':480,'children':[],'name':'昌北分公司','isLock':true},{'id':650,'parentId':480,'children':[],'name':'红谷滩分公司','isLock':true},{'id':660,'parentId':480,'children':[],'name':'高新分公司','isLock':true},{'id':730,'parentId':480,'children':[],'name':'湾里区分公司','isLock':true},{'id':4832,'parentId':480,'children':[],'name':'邮件用户','isLock':true},{'id':4814,'parentId':480,'children':[],'name':'南昌测试组','isLock':true}],'name':'南昌分公司','isLock':true},{'id':2320,'parentId':0,'children':[{'id':2330,'parentId':2320,'children':[],'name':'公司领导','isLock':true},{'id':2340,'parentId':2320,'children':[],'name':'综合部','isLock':true},{'id':2350,'parentId':2320,'children':[],'name':'市场经营部','isLock':true},{'id':2360,'parentId':2320,'children':[],'name':'网络部','isLock':true},{'id':2370,'parentId':2320,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':3833,'parentId':2320,'children':[],'name':'纪委办公室','isLock':true},{'id':2380,'parentId':2320,'children':[],'name':'人力资源部','isLock':true},{'id':2390,'parentId':2320,'children':[],'name':'财务部','isLock':true},{'id':2351,'parentId':2320,'children':[],'name':'集团客户部','isLock':true},{'id':3981,'parentId':2320,'children':[],'name':'渠道运营中心','isLock':true},{'id':2470,'parentId':2320,'children':[],'name':'工程建设中心','isLock':true},{'id':4150,'parentId':2320,'children':[],'name':'有线业务部','isLock':true},{'id':2490,'parentId':2320,'children':[],'name':'无线中心','isLock':true},{'id':3831,'parentId':2320,'children':[],'name':'基本建设办公室','isLock':true},{'id':2510,'parentId':2320,'children':[],'name':'物流中心','isLock':true},{'id':2520,'parentId':2320,'children':[],'name':'工会','isLock':true},{'id':2530,'parentId':2320,'children':[],'name':'信州区分公司','isLock':true},{'id':2560,'parentId':2320,'children':[],'name':'广信区分公司','isLock':true},{'id':2540,'parentId':2320,'children':[],'name':'玉山县分公司','isLock':true},{'id':2550,'parentId':2320,'children':[],'name':'广丰区分公司','isLock':true},{'id':2570,'parentId':2320,'children':[],'name':'铅山县分公司','isLock':true},{'id':2580,'parentId':2320,'children':[],'name':'横峰县分公司','isLock':true},{'id':2590,'parentId':2320,'children':[],'name':'弋阳县分公司','isLock':true},{'id':2600,'parentId':2320,'children':[],'name':'鄱阳县分公司','isLock':true},{'id':2610,'parentId':2320,'children':[],'name':'余干县分公司','isLock':true},{'id':2620,'parentId':2320,'children':[],'name':'万年县分公司','isLock':true},{'id':2630,'parentId':2320,'children':[],'name':'婺源县分公司','isLock':true},{'id':2640,'parentId':2320,'children':[],'name':'德兴市分公司','isLock':true},{'id':3691,'parentId':2320,'children':[],'name':'邮件用户','isLock':true},{'id':4816,'parentId':2320,'children':[],'name':'上饶测试组','isLock':true}],'name':'上饶分公司','isLock':true},{'id':2820,'parentId':0,'children':[{'id':2830,'parentId':2820,'children':[],'name':'公司领导','isLock':true},{'id':2880,'parentId':2820,'children':[],'name':'市场经营部','isLock':true},{'id':2920,'parentId':2820,'children':[],'name':'集团客户部','isLock':true},{'id':2890,'parentId':2820,'children':[],'name':'网络部','isLock':true},{'id':2870,'parentId':2820,'children':[],'name':'财务部','isLock':true},{'id':2860,'parentId':2820,'children':[],'name':'人力资源部','isLock':true},{'id':2840,'parentId':2820,'children':[],'name':'综合部','isLock':true},{'id':2850,'parentId':2820,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':4341,'parentId':2820,'children':[],'name':'纪委办公室','isLock':true},{'id':3070,'parentId':2820,'children':[],'name':'工会','isLock':true},{'id':2950,'parentId':2820,'children':[],'name':'有线业务部','isLock':true},{'id':2940,'parentId':2820,'children':[],'name':'无线中心','isLock':true},{'id':2900,'parentId':2820,'children':[],'name':'工程建设中心','isLock':true},{'id':3080,'parentId':2820,'children':[],'name':'渠道运营中心','isLock':true},{'id':2960,'parentId':2820,'children':[],'name':'物流中心','isLock':true},{'id':4891,'parentId':2820,'children':[],'name':'基建办公室（临时）','isLock':true},{'id':2970,'parentId':2820,'children':[],'name':'袁州区分公司','isLock':true},{'id':2980,'parentId':2820,'children':[],'name':'樟树市分公司','isLock':true},{'id':2990,'parentId':2820,'children':[],'name':'丰城市分公司','isLock':true},{'id':3000,'parentId':2820,'children':[],'name':'靖安县分公司','isLock':true},{'id':3010,'parentId':2820,'children':[],'name':'奉新县分公司','isLock':true},{'id':3020,'parentId':2820,'children':[],'name':'高安市分公司','isLock':true},{'id':3030,'parentId':2820,'children':[],'name':'上高县分公司','isLock':true},{'id':3040,'parentId':2820,'children':[],'name':'宜丰县分公司','isLock':true},{'id':3050,'parentId':2820,'children':[],'name':'铜鼓县分公司','isLock':true},{'id':3060,'parentId':2820,'children':[],'name':'万载县分公司','isLock':true},{'id':3693,'parentId':2820,'children':[],'name':'邮件用户','isLock':true},{'id':4818,'parentId':2820,'children':[],'name':'宜春测试组','isLock':true}],'name':'宜春分公司','isLock':true},{'id':1840,'parentId':0,'children':[{'id':1850,'parentId':1840,'children':[],'name':'公司领导','isLock':true},{'id':1860,'parentId':1840,'children':[],'name':'综合部','isLock':true},{'id':1890,'parentId':1840,'children':[],'name':'市场经营部','isLock':true},{'id':3501,'parentId':1840,'children':[],'name':'渠道运营中心','isLock':true},{'id':1980,'parentId':1840,'children':[],'name':'集团客户部','isLock':true},{'id':4890,'parentId':1840,'children':[],'name':'客户服务中心','isLock':true},{'id':1920,'parentId':1840,'children':[],'name':'网络部','isLock':true},{'id':4227,'parentId':1840,'children':[],'name':'有线业务部','isLock':true},{'id':1970,'parentId':1840,'children':[],'name':'无线中心','isLock':true},{'id':1910,'parentId':1840,'children':[],'name':'工程建设中心','isLock':true},{'id':3832,'parentId':1840,'children':[],'name':'第二枢纽楼建设办公室','isLock':true},{'id':1900,'parentId':1840,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':1870,'parentId':1840,'children':[],'name':'财务部','isLock':true},{'id':1880,'parentId':1840,'children':[],'name':'人力资源部','isLock':true},{'id':3705,'parentId':1840,'children':[],'name':'离退休人员服务中心','isLock':true},{'id':4343,'parentId':1840,'children':[],'name':'纪委办公室','isLock':true},{'id':3680,'parentId':1840,'children':[],'name':'工会','isLock':true},{'id':2000,'parentId':1840,'children':[],'name':'物流中心','isLock':true},{'id':1930,'parentId':1840,'children':[],'name':'浔阳区分公司','isLock':true},{'id':1940,'parentId':1840,'children':[],'name':'濂溪区分公司','isLock':true},{'id':2100,'parentId':1840,'children':[],'name':'都昌县分公司','isLock':true},{'id':2080,'parentId':1840,'children':[],'name':'湖口县分公司','isLock':true},{'id':2050,'parentId':1840,'children':[],'name':'彭泽县分公司','isLock':true},{'id':2070,'parentId':1840,'children':[],'name':'柴桑区分公司','isLock':true},{'id':2030,'parentId':1840,'children':[],'name':'庐山市分公司','isLock':true},{'id':2110,'parentId':1840,'children':[],'name':'德安县分公司','isLock':true},{'id':2090,'parentId':1840,'children':[],'name':'共青城市分公司','isLock':true},{'id':2010,'parentId':1840,'children':[],'name':'永修县分公司','isLock':true},{'id':2040,'parentId':1840,'children':[],'name':'武宁县分公司','isLock':true},{'id':2020,'parentId':1840,'children':[],'name':'修水县分公司','isLock':true},{'id':2120,'parentId':1840,'children':[],'name':'瑞昌市分公司','isLock':true},{'id':3688,'parentId':1840,'children':[],'name':'邮件用户','isLock':true},{'id':4815,'parentId':1840,'children':[],'name':'九江测试组','isLock':true}],'name':'九江分公司','isLock':true},{'id':780,'parentId':0,'children':[{'id':790,'parentId':780,'children':[],'name':'公司领导','isLock':true},{'id':860,'parentId':780,'children':[],'name':'市场经营部','isLock':true},{'id':890,'parentId':780,'children':[],'name':'集团客户部','isLock':true},{'id':900,'parentId':780,'children':[],'name':'网络部','isLock':true},{'id':810,'parentId':780,'children':[],'name':'财务部','isLock':true},{'id':850,'parentId':780,'children':[],'name':'人力资源部','isLock':true},{'id':800,'parentId':780,'children':[],'name':'综合部','isLock':true},{'id':820,'parentId':780,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':4381,'parentId':780,'children':[],'name':'纪委办公室','isLock':true},{'id':830,'parentId':780,'children':[],'name':'工会','isLock':true},{'id':3682,'parentId':780,'children':[],'name':'工程建设中心','isLock':true},{'id':4620,'parentId':780,'children':[],'name':'基建办公室','isLock':true},{'id':840,'parentId':780,'children':[],'name':'物流中心','isLock':true},{'id':3908,'parentId':780,'children':[],'name':'渠道运营中心','isLock':true},{'id':4182,'parentId':780,'children':[],'name':'有线业务部','isLock':true},{'id':4181,'parentId':780,'children':[],'name':'无线中心','isLock':true},{'id':910,'parentId':780,'children':[],'name':'文昌分公司','isLock':true},{'id':920,'parentId':780,'children':[],'name':'宜黄县分公司','isLock':true},{'id':930,'parentId':780,'children':[],'name':'崇仁县分公司','isLock':true},{'id':940,'parentId':780,'children':[],'name':'乐安县分公司','isLock':true},{'id':950,'parentId':780,'children':[],'name':'金溪县分公司','isLock':true},{'id':960,'parentId':780,'children':[],'name':'资溪县分公司','isLock':true},{'id':970,'parentId':780,'children':[],'name':'南城县分公司','isLock':true},{'id':980,'parentId':780,'children':[],'name':'黎川县分公司','isLock':true},{'id':990,'parentId':780,'children':[],'name':'南丰县分公司','isLock':true},{'id':1000,'parentId':780,'children':[],'name':'临川区分公司','isLock':true},{'id':1010,'parentId':780,'children':[],'name':'东乡区分公司','isLock':true},{'id':1020,'parentId':780,'children':[],'name':'广昌县分公司','isLock':true},{'id':3684,'parentId':780,'children':[],'name':'邮件用户','isLock':true},{'id':4817,'parentId':780,'children':[],'name':'抚州测试组','isLock':true}],'name':'抚州分公司','isLock':true},{'id':2130,'parentId':0,'children':[{'id':2140,'parentId':2130,'children':[],'name':'公司领导','isLock':true},{'id':2160,'parentId':2130,'children':[],'name':'综合部','isLock':true},{'id':2190,'parentId':2130,'children':[],'name':'市场经营部','isLock':true},{'id':2200,'parentId':2130,'children':[],'name':'网络部','isLock':true},{'id':2240,'parentId':2130,'children':[],'name':'有线业务部','isLock':true},{'id':2310,'parentId':2130,'children':[],'name':'无线中心','isLock':true},{'id':2220,'parentId':2130,'children':[],'name':'集团客户部','isLock':true},{'id':2180,'parentId':2130,'children':[],'name':'财务部','isLock':true},{'id':2170,'parentId':2130,'children':[],'name':'人力资源部','isLock':true},{'id':2150,'parentId':2130,'children':[],'name':'物流中心','isLock':true},{'id':2210,'parentId':2130,'children':[],'name':'渠道运营中心','isLock':true},{'id':3821,'parentId':2130,'children':[],'name':'工程建设中心','isLock':true},{'id':2270,'parentId':2130,'children':[],'name':'湘东区分公司','isLock':true},{'id':2280,'parentId':2130,'children':[],'name':'上栗县分公司','isLock':true},{'id':2290,'parentId':2130,'children':[],'name':'芦溪县分公司','isLock':true},{'id':2300,'parentId':2130,'children':[],'name':'莲花县分公司','isLock':true},{'id':3675,'parentId':2130,'children':[],'name':'营销中心','isLock':true},{'id':4481,'parentId':2130,'children':[],'name':'工会','isLock':true},{'id':3690,'parentId':2130,'children':[],'name':'邮件用户','isLock':true},{'id':4401,'parentId':2130,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':4483,'parentId':2130,'children':[],'name':'基建办公室','isLock':true},{'id':4400,'parentId':2130,'children':[],'name':'纪委办公室','isLock':true},{'id':4480,'parentId':2130,'children':[],'name':'安源区分公司','isLock':true},{'id':4825,'parentId':2130,'children':[],'name':'萍乡测试组','isLock':true}],'name':'萍乡分公司','isLock':true},{'id':1680,'parentId':0,'children':[{'id':1690,'parentId':1680,'children':[],'name':'公司领导','isLock':true},{'id':1700,'parentId':1680,'children':[],'name':'综合部','isLock':true},{'id':3802,'parentId':1680,'children':[],'name':'工程建设中心','isLock':true},{'id':4520,'parentId':1680,'children':[],'name':'基建办公室','isLock':true},{'id':1780,'parentId':1680,'children':[],'name':'财务部','isLock':true},{'id':1790,'parentId':1680,'children':[],'name':'人力资源部','isLock':true},{'id':1710,'parentId':1680,'children':[],'name':'市场经营部','isLock':true},{'id':1740,'parentId':1680,'children':[],'name':'渠道运营中心','isLock':true},{'id':1831,'parentId':1680,'children':[],'name':'集团客户部','isLock':true},{'id':1750,'parentId':1680,'children':[],'name':'网络部','isLock':true},{'id':1832,'parentId':1680,'children':[],'name':'物流中心','isLock':true},{'id':4402,'parentId':1680,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':4281,'parentId':1680,'children':[],'name':'纪委办公室','isLock':true},{'id':3681,'parentId':1680,'children':[],'name':'工会','isLock':true},{'id':1800,'parentId':1680,'children':[],'name':'城西分公司','isLock':true},{'id':1810,'parentId':1680,'children':[],'name':'城东分公司','isLock':true},{'id':1820,'parentId':1680,'children':[],'name':'乐平市分公司','isLock':true},{'id':1830,'parentId':1680,'children':[],'name':'浮梁县分公司','isLock':true},{'id':1770,'parentId':1680,'children':[],'name':'无线中心','isLock':true},{'id':4201,'parentId':1680,'children':[],'name':'有线业务部','isLock':true},{'id':3687,'parentId':1680,'children':[],'name':'邮件用户','isLock':true},{'id':4821,'parentId':1680,'children':[],'name':'景德镇测试组','isLock':true}],'name':'景德镇分公司','isLock':true},{'id':3090,'parentId':0,'children':[{'id':3100,'parentId':3090,'children':[],'name':'公司领导','isLock':true},{'id':3140,'parentId':3090,'children':[],'name':'市场经营部','isLock':true},{'id':3240,'parentId':3090,'children':[],'name':'集团客户部','isLock':true},{'id':3150,'parentId':3090,'children':[],'name':'网络部','isLock':true},{'id':3260,'parentId':3090,'children':[],'name':'无线中心','isLock':true},{'id':4162,'parentId':3090,'children':[],'name':'有线业务部','isLock':true},{'id':3120,'parentId':3090,'children':[],'name':'财务部','isLock':true},{'id':3130,'parentId':3090,'children':[],'name':'人力资源部','isLock':true},{'id':3110,'parentId':3090,'children':[],'name':'综合部','isLock':true},{'id':4342,'parentId':3090,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':4889,'parentId':3090,'children':[],'name':'纪委办公室','isLock':true},{'id':3220,'parentId':3090,'children':[],'name':'工会','isLock':true},{'id':4022,'parentId':3090,'children':[],'name':'渠道运营中心','isLock':true},{'id':3822,'parentId':3090,'children':[],'name':'工程建设中心','isLock':true},{'id':3160,'parentId':3090,'children':[],'name':'物流中心','isLock':true},{'id':3180,'parentId':3090,'children':[],'name':'月湖区分公司','isLock':true},{'id':3190,'parentId':3090,'children':[],'name':'贵溪市分公司','isLock':true},{'id':3200,'parentId':3090,'children':[],'name':'余江区分公司','isLock':true},{'id':3210,'parentId':3090,'children':[],'name':'龙虎山区分公司','isLock':true},{'id':3694,'parentId':3090,'children':[],'name':'邮件用户','isLock':true},{'id':4829,'parentId':3090,'children':[],'name':'鹰潭测试组','isLock':true}],'name':'鹰潭分公司','isLock':true},{'id':2650,'parentId':0,'children':[{'id':2810,'parentId':2650,'children':[],'name':'无线中心','isLock':true},{'id':4163,'parentId':2650,'children':[],'name':'有线业务部','isLock':true},{'id':2660,'parentId':2650,'children':[],'name':'公司领导','isLock':true},{'id':2670,'parentId':2650,'children':[],'name':'综合部','isLock':true},{'id':2680,'parentId':2650,'children':[],'name':'人力资源部','isLock':true},{'id':2690,'parentId':2650,'children':[],'name':'财务部','isLock':true},{'id':2700,'parentId':2650,'children':[],'name':'工会','isLock':true},{'id':4380,'parentId':2650,'children':[],'name':'党委办公室（党群工作部）','isLock':true},{'id':2710,'parentId':2650,'children':[],'name':'市场经营部','isLock':true},{'id':2720,'parentId':2650,'children':[],'name':'物流中心','isLock':true},{'id':2740,'parentId':2650,'children':[],'name':'网络部','isLock':true},{'id':2790,'parentId':2650,'children':[],'name':'集团客户部','isLock':true},{'id':3829,'parentId':2650,'children':[],'name':'工程建设中心','isLock':true},{'id':2750,'parentId':2650,'children':[],'name':'城南分公司','isLock':true},{'id':2760,'parentId':2650,'children':[],'name':'城北分公司','isLock':true},{'id':2770,'parentId':2650,'children':[],'name':'分宜县分公司','isLock':true},{'id':2715,'parentId':2650,'children':[],'name':'渠道运营中心','isLock':true},{'id':3919,'parentId':2650,'children':[],'name':'第二枢纽楼建设办公室','isLock':true},{'id':3692,'parentId':2650,'children':[],'name':'邮件用户','isLock':true},{'id':4440,'parentId':2650,'children':[],'name':'纪委办公室','isLock':true},{'id':4826,'parentId':2650,'children':[],'name':'新余测试组','isLock':true}],'name':'新余分公司','isLock':true}],
      postList:[{'searchValue':null,'createBy':'admin','createTime':'2021-02-09 16:38:21','updateBy':null,'updateTime':null,'remark':'','params':{},'postId':1,'postCode':'ceo','postName':'董事长','postSort':'1','status':'0','flag':false},{'searchValue':null,'createBy':'admin','createTime':'2021-02-09 16:38:21','updateBy':null,'updateTime':null,'remark':'','params':{},'postId':2,'postCode':'se','postName':'项目经理','postSort':'2','status':'0','flag':false},{'searchValue':null,'createBy':'admin','createTime':'2021-02-09 16:38:21','updateBy':null,'updateTime':null,'remark':'','params':{},'postId':3,'postCode':'hr','postName':'人力资源','postSort':'3','status':'0','flag':false},{'searchValue':null,'createBy':'admin','createTime':'2021-02-09 16:38:21','updateBy':null,'updateTime':null,'remark':'','params':{},'postId':4,'postCode':'user','postName':'普通员工','postSort':'4','status':'0','flag':false}]
    }
  },
  methods:{
   async fun(){
      return {'code':0,'msg':null,'data':{'records':[{'userId':43112,'username':'linghao','password':'$2a$10$t.6Vr3NM2zRZkVIH4SP87OYuHHePcKQC/g.SqgRFzOAJUCHTJBQhi','salt':null,'wxOpenid':null,'qqOpenid':null,'orgCode':'00370000000000000000','createTime':null,'updateTime':'2021-04-25 03:34:28','delFlag':'0','lockFlag':'0','phone':'123****8999','avatar':null,'deptId':10,'tenantId':1,'deptName':'江西公司','roleList':[],'realname':'凌浩','email':'linghao@jx.chinamobile.com','workNo':'37033592','sortNum':1,'orgposition':1,'userDepartId':null,'parentDeptName':null,'orgCodeShort':null},{'userId':2790,'username':'liuhongzhi','password':'$2a$10$t.6Vr3NM2zRZkVIH4SP87OYuHHePcKQC/g.SqgRFzOAJUCHTJBQhi','salt':null,'wxOpenid':null,'qqOpenid':null,'orgCode':'00370000000000000000','createTime':null,'updateTime':'2021-04-25 03:34:35','delFlag':'0','lockFlag':'0','phone':'111****1111','avatar':null,'deptId':10,'tenantId':1,'deptName':'江西公司','roleList':[],'realname':'刘宏志','email':'liuhongzhi@jx.chinamobile.com','workNo':'37001689','sortNum':10,'orgposition':3,'userDepartId':null,'parentDeptName':null,'orgCodeShort':null},{'userId':41,'username':'zhengshaobo','password':'$2a$10$t.6Vr3NM2zRZkVIH4SP87OYuHHePcKQC/g.SqgRFzOAJUCHTJBQhi','salt':null,'wxOpenid':null,'qqOpenid':null,'orgCode':'00370000000000000000','createTime':null,'updateTime':'2021-04-25 03:37:07','delFlag':'0','lockFlag':'0','phone':'111****1111','avatar':null,'deptId':10,'tenantId':1,'deptName':'江西公司','roleList':[],'realname':'郑少波','email':'zhengshaobo@jx.chinamobile.com','workNo':'38016197','sortNum':20,'orgposition':3,'userDepartId':null,'parentDeptName':null,'orgCodeShort':null},{'userId':41698,'username':'chengjiang','password':'$2a$10$t.6Vr3NM2zRZkVIH4SP87OYuHHePcKQC/g.SqgRFzOAJUCHTJBQhi','salt':null,'wxOpenid':null,'qqOpenid':null,'orgCode':'00370000000000000000','createTime':null,'updateTime':'2021-04-25 03:33:04','delFlag':'0','lockFlag':'0','phone':'000****0000','avatar':null,'deptId':10,'tenantId':1,'deptName':'江西公司','roleList':[],'realname':'程江','email':'chengjiang@jx.chinamobile.com','workNo':'37032024','sortNum':64,'orgposition':3,'userDepartId':null,'parentDeptName':null,'orgCodeShort':null},{'userId':43081,'username':'jinhong','password':'$2a$10$t.6Vr3NM2zRZkVIH4SP87OYuHHePcKQC/g.SqgRFzOAJUCHTJBQhi','salt':null,'wxOpenid':null,'qqOpenid':null,'orgCode':'00370000000000000000','createTime':null,'updateTime':'2021-04-25 03:34:10','delFlag':'0','lockFlag':'0','phone':'188****3355','avatar':null,'deptId':10,'tenantId':1,'deptName':'江西公司','roleList':[],'realname':'金泓','email':'jinhong@jx.chinamobile.com','workNo':'37033591','sortNum':67,'orgposition':3,'userDepartId':null,'parentDeptName':null,'orgCodeShort':null},{'userId':3809,'username':'tuyuqing.tu','password':'$2a$10$t.6Vr3NM2zRZkVIH4SP87OYuHHePcKQC/g.SqgRFzOAJUCHTJBQhi','salt':null,'wxOpenid':null,'qqOpenid':null,'orgCode':'00370000000000000000','createTime':null,'updateTime':'2021-04-25 03:35:35','delFlag':'0','lockFlag':'0','phone':'139****9199','avatar':null,'deptId':10,'tenantId':1,'deptName':'江西公司','roleList':[],'realname':'涂予青','email':'tuyuqing.tu@jx.chinamobile.com','workNo':'37020357','sortNum':90,'orgposition':3,'userDepartId':null,'parentDeptName':null,'orgCodeShort':null}],'total':6,'size':10,'current':1,'orders':[],'optimizeCountSql':true,'hitCount':false,'countId':null,'maxLimit':null,'searchCount':true,'pages':1}}
    },
    onselection(res){

    }
  },
  mounted() {
    this.$refs.bpmView.open()
  }
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
}
</style>
